//
//  MenuCollection.h
//  项目三
//
//  Created by rimi1 on 2016/12/8.
//  Copyright © 2016年 Wangxingqian. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MenuCollection;

@protocol MenuCollectionDelegate <NSObject>

- (void)menuCollection:(MenuCollection *)menuCollection selectOfIndexPath:(NSIndexPath *)indexPath;

@end

@interface MenuCollection : UIView

@property (nonatomic, weak) id <MenuCollectionDelegate> delegate;
@property (nonatomic, strong) UICollectionView *collectionView;

- (instancetype)initWithDataArr:(NSArray *)arr;
- (void)showAnimation;
- (void)hideAnimation;
- (void)removeColor;

@end
